package cn.jeefast.common.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 研究组表
 * </p>
 *
 * @author theodo
 * @since 2019-12-30
 */
@TableName("mb_research")
public class MbResearch extends Model<MbResearch> {

    private static final long serialVersionUID = 1L;

    /**
     * 研究组ID
     */
	@TableId(value="res_id", type= IdType.AUTO)
	private Long resId;
    /**
     * 研究组名称
     */
	@TableField("res_name")
	private String resName;

	/**
	 * 项目ID
	 */
	@TableField("proj_id")
	private Long projId;

	public Long getResId() {
		return resId;
	}

	public void setResId(Long resId) {
		this.resId = resId;
	}

	public String getResName() {
		return resName;
	}

	public void setResName(String resName) {
		this.resName = resName;
	}

	public Long getProjId() {
		return projId;
	}

	public void setProjId(Long projId) {
		this.projId = projId;
	}

	@Override
	protected Serializable pkVal() {
		return this.resId;
	}

	@Override
	public String toString() {
		return "MbResearch{" +
			", resId=" + resId +
			", resName=" + resName +
			"}";
	}
}
